package com.billing.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.UserEducationBeanMapper;
import com.billing.model.entity.TUserEducation;
import com.billing.model.entity.TUserEducationBuffer;
import com.billing.service.UserEducationService;
@Service
public class UserEducationServiceImpl implements UserEducationService {
	@Resource
	private UserEducationBeanMapper userEducationBeanMapper; 
	public int insertTUserEducation(TUserEducation userEducation) {
		return userEducationBeanMapper.insertTUserEducation(userEducation);
	}
	public TUserEducation selectUserEducationByUid(String userid) {
		return userEducationBeanMapper.selectUserEducationByUid(userid);
	}
	public int updateUserEducation(TUserEducation userEducation) {
		return userEducationBeanMapper.updateUserEducation(userEducation);
	}
	public TUserEducation selectUserEducationById(String id) {
		return userEducationBeanMapper.selectUserEducationById(id);
	}
	public int updateUserEducationByUserid(TUserEducation userEducation) {
		return userEducationBeanMapper.updateUserEducationByUserid(userEducation);
	}
	@Override
	public int updateByBuffer(TUserEducationBuffer educationBuffer) {
		return userEducationBeanMapper.updateByBuffer(educationBuffer);
	}
	@Override
	public int insertByBuffer(TUserEducationBuffer educationBuffer) {
		return userEducationBeanMapper.insertByBuffer(educationBuffer);
	}
}
